package com.ruoyi.system.dao;

import java.io.Serializable;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.ruoyi.system.domain.SysPost;

@Repository
public interface SysPostDAO extends JpaRepository<SysPost, String>,JpaSpecificationExecutor<SysPost>, Serializable {


	public SysPost findTop1ByPostName(String postName);
	
	
	public SysPost findTop1ByPostCode(String postCode);
}
